package clienteguiview;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class FrmPesquisarCliente extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrmPesquisarCliente frame = new FrmPesquisarCliente();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrmPesquisarCliente() {
		setTitle("Pesquisar Cliente");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 581, 423);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(null);
		setContentPane(contentPane);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		panel.setBorder(new EmptyBorder(5, 5, 5, 5));
		panel.setBounds(0, 0, 571, 385);
		contentPane.add(panel);
		
		JLabel label = new JLabel("Nome : ");
		label.setBounds(29, 31, 46, 14);
		panel.add(label);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(72, 28, 350, 20);
		panel.add(textField);
		
		JLabel label_1 = new JLabel("Cpf : ");
		label_1.setBounds(29, 72, 46, 14);
		panel.add(label_1);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(72, 69, 173, 20);
		panel.add(textField_1);
		
		JLabel label_2 = new JLabel("Bairro : ");
		label_2.setBounds(29, 137, 283, 14);
		panel.add(label_2);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(72, 134, 240, 20);
		panel.add(textField_2);
		
		JLabel label_3 = new JLabel("Cep : ");
		label_3.setBounds(29, 172, 46, 14);
		panel.add(label_3);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(72, 169, 240, 20);
		panel.add(textField_3);
		
		JLabel label_4 = new JLabel("Complemento ");
		label_4.setBounds(322, 137, 75, 14);
		panel.add(label_4);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(393, 134, 168, 20);
		panel.add(textField_4);
		
		JLabel label_5 = new JLabel("Logradouro:");
		label_5.setBounds(29, 106, 64, 20);
		panel.add(label_5);
		
		textField_5 = new JTextField();
		textField_5.setColumns(10);
		textField_5.setBounds(103, 106, 214, 20);
		panel.add(textField_5);
		
		JButton button = new JButton("| >>");
		button.setToolTipText("Proximo Cliente");
		button.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		button.setBounds(364, 267, 89, 23);
		panel.add(button);
		
		JButton button_1 = new JButton("<< |");
		button_1.setToolTipText("Cliente Anterior");
		button_1.setBounds(71, 267, 89, 23);
		panel.add(button_1);
		
		JButton btnAlterar = new JButton("Alterar");
		btnAlterar.setToolTipText("Altera Cliente");
		btnAlterar.setBounds(170, 267, 89, 23);
		panel.add(btnAlterar);
		
		JButton btnExcluir = new JButton("Excluir");
		btnExcluir.setToolTipText("Exclui Cliente");
		btnExcluir.setBounds(269, 267, 89, 23);
		panel.add(btnExcluir);
		
		JButton btnVoltar = new JButton("Voltar");
		btnVoltar.setToolTipText("Voltar Para Tela Principal");
		btnVoltar.setBounds(456, 340, 89, 23);
		panel.add(btnVoltar);
	}

}
